package com.yao_shop.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface yao_mapper {
    @Select("select stu_id,stu_name,stu_phone from stu_info where stu_phone=#{stu_phone} and stu_password=#{stu_password}")
    Map yao_login(Map map);
}
